<template>
  <p></p>
</template>
<script>
import { getUrlString } from "../../scripts/utils.js";
export default {
  created() {
    let code = getUrlString("code");
    let wechattoken = getUrlString("token");
    let pay_code = getUrlString("pay_code");
    this.apiService.Payment4.withdrawals(
      {
        token: wechattoken,
        pay_code: pay_code,
        code: code
      },
      "get"
    ).then(res => {
      this.$vux.alert.show({
        content: `已经提现成功`,
        onHide() {
          history.go(-1);
        }
      });
    });
  }
};
</script>
